<?php
class Feed_model extends CI_Model {

function getRecentEntries(){
	
			
        $this->db->order_by('date', 'desc');
        $this->db->limit(10);
        return $this->db->get('entry');
}
}